package com.example.a2032.net.jstylenet;

import java.util.List;

public class UploadData {

    /**
     * dataTotal : [{"time":"2019.06.22 12:20:30","dataDetail":[111,1525,2.859999895095825,86.26000213623047,31,6]},{"time":"2019.06.20 12:20:30","dataDetail":[353,1525,2.859999895095825,86.26000213623047,31,6]},{"time":"2019.06.19 12:20:30","dataDetail":[353,1525,2.859999895095825,86.26000213623047,31,6]}]
     * uid : 109850
     * mac : E4:30:85:04:6B:72
     * dataType : sportTypeData
     */



    private String dataType;
    private String deviceType;

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    private List dataTotal;




    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public List getDataTotal() {
        return dataTotal;
    }

    public void setDataTotal(List dataTotal) {
        this.dataTotal = dataTotal;
    }

    public static class DataTotalBean {
        /**
         * time : 2019.06.22 12:20:30
         * dataDetail : [111,1525,2.859999895095825,86.26000213623047,31,6]
         */

        private String time;
        private List<String> dataDetail;

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public List<String> getDataDetail() {
            return dataDetail;
        }

        public void setDataDetail(List<String> dataDetail) {
            this.dataDetail = dataDetail;
        }
    }

    public static class DataTotalEcg {


        /**
         * ecgs : [123,453]
         * maxhr : 80
         * minhr : 70
         * avghr : 75
         * hrv : 92
         * time : 2021.07.30 18:12:08
         */

        private int maxhr;
        private int minhr;
        private int avghr;
        private int hrv;
        private String time;
        private List<Integer> ecgs;

        public int getMaxhr() {
            return maxhr;
        }

        public void setMaxhr(int maxhr) {
            this.maxhr = maxhr;
        }

        public int getMinhr() {
            return minhr;
        }

        public void setMinhr(int minhr) {
            this.minhr = minhr;
        }

        public int getAvghr() {
            return avghr;
        }

        public void setAvghr(int avghr) {
            this.avghr = avghr;
        }

        public int getHrv() {
            return hrv;
        }

        public void setHrv(int hrv) {
            this.hrv = hrv;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public List<Integer> getEcgs() {
            return ecgs;
        }

        public void setEcgs(List<Integer> ecgs) {
            this.ecgs = ecgs;
        }
    }

}
